package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * table --> mmd_order_product
 * remarks --> 箱单子表
 * columns --> pid,pkgNo,orderNo,boxNo,productCnName,productEnName,brand,type,img,hsCode,materialCnName,materialEnName,useCnName,useEnName,count,unitPrice,isem,powerRate,createTime,updateTime
 */
@ApiModel(value = "mmd_order_product",description = "箱单子表")
public class MmdOrderProduct implements Serializable {
    /**
     * pid
     * 商品行ID
     */
    @ApiModelProperty(value="pid",name="商品行ID")
    private String pid;

    /**
     * pkgNo
     * 子订单号
     */
    @ApiModelProperty(value="pkgNo",name="子订单号")
    private String pkgNo;

    /**
     * orderNo
     * 订单号
     */
    @ApiModelProperty(value="orderNo",name="订单号")
    private String orderNo;

    /**
     * boxNo
     * 	FBA箱号
     */
    @ApiModelProperty(value="boxNo",name="	FBA箱号")
    private String boxNo;

    /**
     * productCnName
     * 产品中文名称
     */
    @ApiModelProperty(value="productCnName",name="产品中文名称")
    private String productCnName;

    /**
     * productEnName
     * 产品英文名称
     */
    @ApiModelProperty(value="productEnName",name="产品英文名称")
    private String productEnName;

    /**
     * brand
     * 品牌
     */
    @ApiModelProperty(value="brand",name="品牌")
    private String brand;

    /**
     * type
     * 型号
     */
    @ApiModelProperty(value="type",name="型号")
    private String type;

    /**
     * img
     * 产品图片
     */
    @ApiModelProperty(value="img",name="产品图片")
    private String img;

    /**
     * hsCode
     * HScode
     */
    @ApiModelProperty(value="hsCode",name="HScode")
    private String hsCode;

    /**
     * materialCnName
     * 成分材质中文描述
     */
    @ApiModelProperty(value="materialCnName",name="成分材质中文描述")
    private String materialCnName;

    /**
     * materialEnName
     * 成分材质英文描述
     */
    @ApiModelProperty(value="materialEnName",name="成分材质英文描述")
    private String materialEnName;

    /**
     * useCnName
     * 用途中文描述
     */
    @ApiModelProperty(value="useCnName",name="用途中文描述")
    private String useCnName;

    /**
     * useEnName
     * 用途英文描述
     */
    @ApiModelProperty(value="useEnName",name="用途英文描述")
    private String useEnName;

    /**
     * count
     * 数量
     */
    @ApiModelProperty(value="count",name="数量")
    private Integer count;

    /**
     * unitPrice
     * 单价
     */
    @ApiModelProperty(value="unitPrice",name="单价")
    private BigDecimal unitPrice;

    /**
     * isem
     * 是否带电磁0=不带 1=带电磁
     */
    @ApiModelProperty(value="isem",name="是否带电磁0=不带 1=带电磁")
    private Integer isem;

    /**
     * powerRate
     * 功率
     */
    @ApiModelProperty(value="powerRate",name="功率")
    private String powerRate;

    /**
     * createTime
     * 下单时间
     */
    @ApiModelProperty(value="createTime",name="下单时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private Integer isAdminModifyAfter;
    private String adminModifyPid;
    private Integer isUserShow;
    private Integer isAdminAndSupplyShow;

    private static final long serialVersionUID = 1L;

    public Integer getIsAdminModifyAfter() {
        return isAdminModifyAfter;
    }

    public void setIsAdminModifyAfter(Integer isAdminModifyAfter) {
        this.isAdminModifyAfter = isAdminModifyAfter;
    }

    public String getAdminModifyPid() {
        return adminModifyPid;
    }

    public void setAdminModifyPid(String adminModifyPid) {
        this.adminModifyPid = adminModifyPid;
    }

    public Integer getIsUserShow() {
        return isUserShow;
    }

    public void setIsUserShow(Integer isUserShow) {
        this.isUserShow = isUserShow;
    }

    public Integer getIsAdminAndSupplyShow() {
        return isAdminAndSupplyShow;
    }

    public void setIsAdminAndSupplyShow(Integer isAdminAndSupplyShow) {
        this.isAdminAndSupplyShow = isAdminAndSupplyShow;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
    }

    public String getPkgNo() {
        return pkgNo;
    }

    public void setPkgNo(String pkgNo) {
        this.pkgNo = pkgNo == null ? null : pkgNo.trim();
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo == null ? null : boxNo.trim();
    }

    public String getProductCnName() {
        return productCnName;
    }

    public void setProductCnName(String productCnName) {
        this.productCnName = productCnName == null ? null : productCnName.trim();
    }

    public String getProductEnName() {
        return productEnName;
    }

    public void setProductEnName(String productEnName) {
        this.productEnName = productEnName == null ? null : productEnName.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public String getHsCode() {
        return hsCode;
    }

    public void setHsCode(String hsCode) {
        this.hsCode = hsCode == null ? null : hsCode.trim();
    }

    public String getMaterialCnName() {
        return materialCnName;
    }

    public void setMaterialCnName(String materialCnName) {
        this.materialCnName = materialCnName == null ? null : materialCnName.trim();
    }

    public String getMaterialEnName() {
        return materialEnName;
    }

    public void setMaterialEnName(String materialEnName) {
        this.materialEnName = materialEnName == null ? null : materialEnName.trim();
    }

    public String getUseCnName() {
        return useCnName;
    }

    public void setUseCnName(String useCnName) {
        this.useCnName = useCnName == null ? null : useCnName.trim();
    }

    public String getUseEnName() {
        return useEnName;
    }

    public void setUseEnName(String useEnName) {
        this.useEnName = useEnName == null ? null : useEnName.trim();
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Integer getIsem() {
        return isem;
    }

    public void setIsem(Integer isem) {
        this.isem = isem;
    }

    public String getPowerRate() {
        return powerRate;
    }

    public void setPowerRate(String powerRate) {
        this.powerRate = powerRate == null ? null : powerRate.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", pid=").append(pid);
        sb.append(", pkgNo=").append(pkgNo);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", boxNo=").append(boxNo);
        sb.append(", productCnName=").append(productCnName);
        sb.append(", productEnName=").append(productEnName);
        sb.append(", brand=").append(brand);
        sb.append(", type=").append(type);
        sb.append(", img=").append(img);
        sb.append(", hsCode=").append(hsCode);
        sb.append(", materialCnName=").append(materialCnName);
        sb.append(", materialEnName=").append(materialEnName);
        sb.append(", useCnName=").append(useCnName);
        sb.append(", useEnName=").append(useEnName);
        sb.append(", count=").append(count);
        sb.append(", unitPrice=").append(unitPrice);
        sb.append(", isem=").append(isem);
        sb.append(", powerRate=").append(powerRate);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}